import * as API from "@/api/api";

//工资表
export default {
    getPayRollList: params => {
        return API.POST("/user/getPayRollList", params);
    },
    getPayRollMonthList: params => {
        return API.POST("/user/getPayRollMonthList", params);
    },
    importExcelPayRoll: params => {
        return API.POST("/user/importExcelPayRoll", params, null, 1);
    },
    doDelPayRollMonth: params => {
        return API.POST("/user/doDelPayRollMonth", params);
    },

    doExportPayRoll: params => {
        return API.POSTFILE("/user/doExportPayRoll", params, "application/json", true);
    },

};
